package com.CST.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * <p></p>
 *
 * @author: y
 * @create: 2021-10-30 10:25
 **/
@ApiModel(value ="核算科室")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("BD_Department")
public class BdDepartmentDto {
    private static final long serialVersionUID = 1L;

    @TableId(value = "ID",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "科室编号")
    @ExcelProperty(value = "DeptCode")
    @TableField("DeptCode")
    private String deptCode;

    @ApiModelProperty(value = "科室名称")
    @ExcelProperty(value = "DeptName")
    @TableField("DeptName")
    private String deptName;

    @ApiModelProperty(value = "父级编号")
    @ExcelProperty(value = "ParentCode")
    @TableField("ParentCode")
    private String parentCode;


    @ApiModelProperty(value = "科室类型ID")
    @ExcelProperty(value = "DeptTypeID")
    @TableField("DeptTypeID")
    private String deptTypeId;

    @ApiModelProperty(value = "科室类型")
    @ExcelProperty(value = "DeptTypeName")
    @TableField("DeptTypeName")
    private String deptTypeName;

    @ApiModelProperty(value = "科室属性 BD_DeptProperty")
    @ExcelProperty(value = "DeptPropertyID")
    @TableField("DeptPropertyID")
    private String deptPropertyId;

    @ApiModelProperty(value = "科室属性")
    @ExcelProperty(value = "DeptPropertyName")
    @TableField("DeptPropertyName")
    private String deptPropertyName;

    @ApiModelProperty(value = "临床属性BD_Clinical")
    @ExcelProperty(value = "ClinicalPropertyID")
    @TableField("ClinicalPropertyID")
    private String clinicalPropertyId;

    @ApiModelProperty(value = "临床属性")
    @ExcelProperty(value = "ClinicalPropertyName")
    @TableField("ClinicalPropertyName")
    private String clinicalPropertyName;

    @ApiModelProperty(value = "是否往来账标识")
    @ExcelProperty(value = "IsCurrAccount")
    @TableField("IsCurrAccount")
    private String isCurrAccount;

    @ApiModelProperty(value = "系统id")
    @ExcelProperty(value = "SysID")
    @TableField("SysID")
    private String sysId;

    @ApiModelProperty(value = "修改人")
    @ExcelProperty(value = "UpdatedBy")
    @TableField("UpdatedBy")
    private String updatedBy;

    @ApiModelProperty(value = "修改时间",example = "2020-02-05 13:30:41")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
    @ExcelProperty(value = "UpdatedOn")
    @TableField("UpdatedOn")
    private Date updatedOn;
}
